home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Cream of the Crop 1
/
Cream of the Crop 1.iso
/
PROGRAM
/
LDB171.ARJ
/
EXAMP701.CPP
< prev
next >
Wrap
C/C++ Source or Header
|
1992-05-12
|
368b
|
26 lines
// examp701.cpp - link with binder.obj
#include "binder.hpp"
Binder& clear(Binder& b)
{
if (b.Flags(BDR_DDELETE))
b.allDel();
else
b.allRmv();
return b;
}
char *v[] = {"line one ", "line two ", 0 };
main()
{
Binder b ((voiDV) v);
b << clear;
b.atIns(0,"only line");
while (++b)
cout << (char *) b.get() << "\n";
return 0;
}